package me.qi.kancha.dto.core;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import me.qi.kancha.dto.base.BaseDTO;
import lombok.Data;

import java.io.Serializable;

/**
 * 
 * @author sun
 * @TableName role_rule
 */
@TableName(value ="role_rule")
@Data
public class RoleRuleDTO extends BaseDTO implements Serializable {

    /**
     * 角色编号
     */
    @TableField(value = "role_code")
    private String roleCode;

    /**
     * 权限编号
     */
    @TableField(value = "rule_code")
    private String ruleCode;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}